// JavaScript Document
$(function() {
$('[slice]').each(function() {
		var $elem = $(this);
		var $sliceN = $elem.attr('slice');	
		$elem.text( $elem.text().slice(0 , $sliceN ));
	});
});

